import React, {Component} from 'react';
import {View, StyleSheet, Text, Button, FlatList, TextInput, Slider, Dimensions, ScrollView, Picker} from 'react-native';
import {connect}  from 'react-redux';

const {width: deviceWidth} = Dimensions.get('window');

class Test1 extends Component{
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <View>
                <Text>111</Text>
                <TT>
                    <Text key={'test1'}> 1</Text>
                    <Text key={'test2'}> 44</Text>
                    </TT>
                <Picker style={{height: 30}}>
                <Picker.Item label="Java" value="java" />
  <Picker.Item label="JavaScript" value="js" />
                </Picker>
            </View>
        )
    }
}

class TT extends Component{
    constructor(props) {
        super(props);
    }

    render() {
        console.log(this.props.children);
        return (
            <View>
                <Text> 1111 </Text>
            </View>
        )
    }


}

export default Test1;
